package com.netposa.datawarehouse.aggregator.web.vo;

public class AllStructureVo extends BaseStructureVo {
   private String type;
   private String plateNumber;
   private String plateColor;

   public String getType() {
      return this.type;
   }

   public String getPlateNumber() {
      return this.plateNumber;
   }

   public String getPlateColor() {
      return this.plateColor;
   }

   public void setType(String type) {
      this.type = type;
   }

   public void setPlateNumber(String plateNumber) {
      this.plateNumber = plateNumber;
   }

   public void setPlateColor(String plateColor) {
      this.plateColor = plateColor;
   }

   public boolean equals(Object o) {
      if (o == this) {
         return true;
      } else if (!(o instanceof AllStructureVo)) {
         return false;
      } else {
         AllStructureVo other = (AllStructureVo)o;
         if (!other.canEqual(this)) {
            return false;
         } else {
            label47: {
               Object this$type = this.getType();
               Object other$type = other.getType();
               if (this$type == null) {
                  if (other$type == null) {
                     break label47;
                  }
               } else if (this$type.equals(other$type)) {
                  break label47;
               }

               return false;
            }

            Object this$plateNumber = this.getPlateNumber();
            Object other$plateNumber = other.getPlateNumber();
            if (this$plateNumber == null) {
               if (other$plateNumber != null) {
                  return false;
               }
            } else if (!this$plateNumber.equals(other$plateNumber)) {
               return false;
            }

            Object this$plateColor = this.getPlateColor();
            Object other$plateColor = other.getPlateColor();
            if (this$plateColor == null) {
               if (other$plateColor != null) {
                  return false;
               }
            } else if (!this$plateColor.equals(other$plateColor)) {
               return false;
            }

            return true;
         }
      }
   }

   protected boolean canEqual(Object other) {
      return other instanceof AllStructureVo;
   }

   public int hashCode() {
      
      int result = 1;
      Object $type = this.getType();
      result = result * 59 + ($type == null ? 43 : $type.hashCode());
      Object $plateNumber = this.getPlateNumber();
      result = result * 59 + ($plateNumber == null ? 43 : $plateNumber.hashCode());
      Object $plateColor = this.getPlateColor();
      result = result * 59 + ($plateColor == null ? 43 : $plateColor.hashCode());
      return result;
   }

   public String toString() {
      return "AllStructureVo(type=" + this.getType() + ", plateNumber=" + this.getPlateNumber() + ", plateColor=" + this.getPlateColor() + ")";
   }
}
